package model.agent.service;

import model.agent.entity.Agent;
import model.agent.entity.Personnel;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

/**
 * Created by Administrator on 2019/6/27.
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class testpersonnel {
    @Autowired
    private IPersonnelService personnelService;
    @Test
    public void test(){
        List<Personnel> agentList=personnelService.find("");
        System.out.println(agentList);
    }
}
